home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-10-26 | 1.2 KB | 33 lines | [TEXT/MPS ] |
- #
- # compat.test
- #
- # Tests Tcl library compatiblity routines.
- #---------------------------------------------------------------------------
- # Copyright 1992-1993 Karl Lehenbauer and Mark Diekhans.
- #
- # Permission to use, copy, modify, and distribute this software and its
- # documentation for any purpose and without fee is hereby granted, provided
- # that the above copyright notice appear in all copies. Karl Lehenbauer and
- # Mark Diekhans make no representations about the suitability of this
- # software for any purpose. It is provided "as is" without express or
- # implied warranty.
- #------------------------------------------------------------------------------
- # $Id: compat.test,v 2.5 1993/07/20 08:35:45 markd Exp $
- #------------------------------------------------------------------------------
- #
-
- if {[info procs test] != "test"} then {source testlib.tcl}
- eval $SAVED_UNKNOWN
-
- Test assign_fields-1.1 {assign_fields command} {
- assign_fields "a b {c d} e" alpha beta gamma delta epsilon
- list $alpha $beta $gamma $delta $epsilon
- } 0 "a b {c d} e {}"
-
- Test assign_fields-1.2 {assign_fields command} {
- assign_fields "a b {c d} e"
- } 1 {wrong # args: lassign list varname ?varname..?}
-
- rename unknown {}
-
-